package com.frejoys.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.frejoys.common.dto.admin.StoreSaleListAndPageDto;
import com.frejoys.common.dto.store.StoreSaleListDto;
import com.frejoys.common.vo.admin.StoreSaleListVo;
import com.frejoys.common.vo.store.StoreSaleVo;
import com.frejoys.dao.entity.StoreSale;

import java.util.List;

public interface StoreSaleService extends IService<StoreSale> {

    /**
     * 商家端查询销售记录
     */
    List<StoreSaleVo> getSaleList(StoreSaleListDto dto,Long userId);

    //管理员查看店铺销售列表
    IPage<StoreSaleListVo> storeSaleList(StoreSaleListAndPageDto dto);
}
